package cn.gqr.tool;

import java.util.HashMap;
import java.util.Map;

public class RespJson {

    public static Map<String, Object> pack(int code, String msg, Object data) {
        Map<String, Object> map = new HashMap();
        map.put("code",code);
        map.put("msg",msg);
        map.put("data",data);
        return map;
    }

}
